import util.FileProtocolUtil;

import java.util.Map;

public class ReadFileTest {

    public static void main(String[] args) throws Exception {
        // 自定义打包文件存放路径
        String writeTargetFilePath = "C:\\Users\\Abzz\\Downloads\\20210604170401.spcz";
        // 文件解包测试
        System.out.println("start read file...");
        // 打包文件中文件部分保存路径
        String readTargetFile = "D:\\test\\20210511\\招标文件.pdf";
        // 禽蛋文件存放路径
        String readListTargetFile = "D:\\test\\20210511\\清单文件.YFJZ";
        Map map = FileProtocolUtil.read(writeTargetFilePath, readTargetFile, readListTargetFile);
        System.out.println("read end, the result is " + map);
    }
}
